import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import mutations from './mutations'
Vue.use(Vuex)




// 创建Store对象
const store = new Vuex.Store({
    state,
    mutations
})


// 挂载Vue实例
export default store;